package com.itheima.Service.Impl;

import com.itheima.Service.InventoryService;
import com.itheima.mapper.InventoryMapper;
import com.itheima.pojo.Inventory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class InventoryServiceImpl implements InventoryService {
    @Autowired
    private InventoryMapper inventoryMapper;
    @Override
    public List<Inventory> getInventories() {
        return inventoryMapper.getInventories();
    }
}
